x11: Keep track of the exact size in X pixels of windows
authorOwen W. Taylor <otaylor@fishsoup.net>
Thu, 6 Nov 2014 22:17:45 +0000 (17:17 -0500)
committerAlexander Larsson <alexl@redhat.com>
Thu, 20 Nov 2014 11:38:04 +0000 (12:38 +0100)
commitbd643e0e1afff720db2f2f512818f0b2633a6213
treee486b21b06f6dd7e575b9c7b2746c137f3a7c0e7
parent608c25453b0e95a7fcc0ce9e81b3aa73e9bb39d6
x11: Keep track of the exact size in X pixels of windows

Keep track of the exact size of X windows in underlying pixels; we
generally use the scaled size instead, but to properly handle the GL
viewport for windows that aren't a multiple of window_scale,
we need to know the real size.

https://bugzilla.gnome.org/show_bug.cgi?id=739750
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkgeometry-x11.c
gdk/x11/gdkwindow-x11.c
gdk/x11/gdkwindow-x11.h